<?xml version="1.0" encoding="UTF-8"?>
<html>
<head>
<title>SMD Tester</title>

<!-- YUI CSS -->
<link rel="stylesheet" type="text/css" href="../../lib/yui/reset-fonts-grids/reset-fonts-grids.css">
<link rel="stylesheet" type="text/css" href="../../lib/yui/base/base.css">
<link rel="stylesheet" type="text/css" href="../../lib/yui/container/assets/container.css"> 
<link rel="stylesheet" type="text/css" href="../../lib/yui/assets/skins/sam/skin.css">

<!-- InputEx CSS -->
<link type='text/css' rel='stylesheet' href='../../css/inputEx.css' />

<style>
body { text-align: left; }
#mainBox { margin:20px auto; width: 80%; background-color: #ccccff; padding: 20px; }
p { margin: 10px; font-weight: bold; }
#formContainer { width: 60%; }
</style>
</head>

<body class="yui-skin-sam">
	
	<div id='mainBox'>
		<h1>inputEx - SMD tester</h1>
		
		<p>Build forms from <a href="http://groups.google.com/group/json-schema/web/service-mapping-description-proposal">Service Mapping Description</a> (SMD)</p><br /><br />
		
	</div>

<!-- YUI -->
<script type="text/javascript" src="../../lib/yui/utilities/utilities.js"></script>
<script type="text/javascript" src="../../lib/yui/json/json-min.js"></script>

<!-- inputEx -->
<script type="text/javascript" src="../../js/inputex.js"></script>
<script type="text/javascript" src="../../js/widgets/button.js"></script>
<script type='text/javascript' src="../../js/mixins/choice.js"></script>
<script type="text/javascript" src="../../js/Field.js"></script>
<script type="text/javascript" src="../../js/Group.js"></script>
<script type="text/javascript" src="../../js/Form.js"></script>
<script type="text/javascript" src="../../js/fields/StringField.js"></script>
<script type="text/javascript" src="../../js/fields/SelectField.js"></script>
<script type="text/javascript" src="../../js/fields/IntegerField.js"></script>
<script type="text/javascript" src="../../js/fields/NumberField.js"></script>
<script type="text/javascript" src="../../js/fields/Textarea.js"></script>
<script type="text/javascript" src="../../js/fields/UrlField.js"></script>
<script type="text/javascript" src="../../js/json-schema.js"></script> 
<script type="text/javascript" src="../../js/rpc/inputex-rpc.js"></script> 
<script type="text/javascript" src="../../js/widgets/json-tree-inspector.js"></script>
<script type="text/javascript" src="../../js/rpc/smdTester.js"></script>

<script>

YAHOO.util.Event.onDOMReady(function() {
	var smdList = ['smd/json-time.smd', 'smd/json-head.smd', 'smd/langdetect.smd', 'smd/html-whitelist.smd',
				   'smd/yql.smd', 'smd/jsonptunnel.smd', 'smd/flickr.smd',
				   'smd/yahoopipes.smd', 'smd/delicious.smd', 'smd/wikipedia.smd', 'smd/google.smd',
 				   'smd/twitter.smd', 'smd/geonames.smd', 'smd/yahoo.smd', 'smd/freebase.smd', 'smd/tinyurl.smd'];
	new inputEx.RPC.SMDTester('mainBox', smdList);
});

</script>

</body>
</html>
